package com.captainbank.tcl.tclapplication.model;

import java.io.Serializable;


public class User implements Serializable {
    //登陆返回字段
    private String address;//地址
    private int firstLogin;//是否首次登陆
    private long expire;//token过期时间
    private String nickname;//昵称
    private String mobile;//手机号
    private long userId;//用户id
    private String headPic;//头像地址
    private String email;//邮箱地址
    private String token;//用户token
    //个人信息页新增
    private String code;
    //我的页面新增
    private int attentionCount;//关注
    private int viewCount;//查看
    private int commentCount;//评论
    private int appointmentLockCount;//跟进

    public int getAttentionCount() {
        return attentionCount;
    }

    public void setAttentionCount(int attentionCount) {
        this.attentionCount = attentionCount;
    }

    public int getViewCount() {
        return viewCount;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getFirstLogin() {
        return firstLogin;
    }

    public void setFirstLogin(int firstLogin) {
        this.firstLogin = firstLogin;
    }

    public long getExpire() {
        return expire;
    }

    public void setExpire(long expire) {
        this.expire = expire;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getAppointmentLockCount() {
        return appointmentLockCount;
    }

    public void setAppointmentLockCount(int appointmentLockCount) {
        this.appointmentLockCount = appointmentLockCount;
    }

    @Override
    public String toString() {
        return "User{\n" +//
                "\tuserId=" + userId + "\n" +//
                "\tcode='" + code + "\'\n" +//
                "\taddress='" + address + "\'\n" +//
                "\tmobile='" + mobile + "\'\n" +//
                "\tnickname='" + nickname + "\'\n" +//
                "\theadPic='" + headPic + "\'\n" +//
                "\temail=" + email + "\n" +//
                '}';
    }
}
